package damngoodcoffee.smart.interpreters;

import damngoodcoffee.smart.commands.Command;
import damngoodcoffee.smart.tags.EndTag;
import damngoodcoffee.smart.tags.StartTag;

public interface Interpreter {
    public boolean canInterpret(StartTag t);

    public boolean canInterpret(EndTag t);

    public void interpret(StartTag t) throws InterpreterException;

    public void interpret(EndTag t) throws InterpreterException;

    public void interpret(String value);

    public Command getCommand();
}
